<?php
namespace app\api\controller;

use app\common\model\Attachment as AttachmentModel;

class Attachment extends BaseUser
{
	public function index()
	{
		
	}

	public function create()
	{

	}

	public function save()
	{

	}

	public function read($id)
	{
		$data = AttachmentModel::get($id);
		return cdm(200, $data, '');
	}

	public function edit($id)
	{
		
	}

	public function update($id)
	{

	}

	public function delete($id)
	{

	}
}